package com.csyf.manager.service;

import com.csyf.manager.entity.SysAccountBalance;

import java.math.BigDecimal;

/**
 * @Author: Enzo
 * @Date: 2018/10/28 17:04
 */
public interface SysAccountBalanceBiz {

    /**
     * 查询前某天的余额
     * @param srcmch_id
     * @param day
     * @return
     */
    BigDecimal queryBalance(String srcmch_id, int day);


    void insert(SysAccountBalance vo);


    void addMoney(Long agentId, String mch_id, BigDecimal money, String type) throws Exception;
}
